home *** CD-ROM | disk | FTP | other *** search
Wrap
XSetup plugin | 2001-08-20 | 2.0 KB | 70 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0" "TYPE"="1" "COUNT"="5" "UIPATH"="Information\User" "NAME"="Windows NT/2K/XP User Info #1" "OSVERSION"="010101" "VERSION"="1.00" "LANGUAGE"="VBScript" "TEXT 1"="Logged On User" "TEXT 2"="My Docs Folder" "TEXT 3"="Home Drive" "TEXT 4"=".NET Account" "TEXT 5"="Open Programs" "DESCRIPTION 1"="This plug-in displays some of information about the current user." "DESCRIPTION 2"="You can't change anything!!! Some items may be blank if your configuration does not support them. 'Open Programs' refers to the number of applications open in the taskbar, not the taskbar tray and not services. Some items require Windows XP or higher." "AUTHOR"="Xteq Systems (CptSiskoX)" "CONTACTURL"="http://www.xteq.com" "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved" "COMMENT 1"=" " sP="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\" sV1="Logon User Name" SP2="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\" SV2="Personal" SP3="HKEY_CURRENT_USER\Volatile Environment\" sV3="HOMEDRIVE" SP4="HKEY_CURRENT_USER\Software\Microsoft\MessengerService\ListCache\.NET Messenger Service\" sV4="IdentityName" sP5="HKEY_CURRENT_USER\SessionInformation\" sV5="ProgramCount" Sub Plugin_Initialize if GetWinVer=2 or GetWinVer=4 or GetWinVer=6 then s=RegReadValue(sP & sV1) Call SetUIElement(1,s) s=RegReadValue(sP2 & sV2) Call SetUIElement(2,s) s=RegReadValue(sP3 & sV3) Call SetUIElement(3,s) s=RegReadValue(sP4 & sV4) Call SetUIElement(4,s) s=RegReadValue(sP5 & sV5) Call SetUIElement(5,s) else Call SetUIElement(1,"N/A") Call SetUIElement(2,"N/A") Call SetUIElement(3,"N/A") Call SetUIElement(4,"N/A") Call SetUIElement(5,"N/A") end if Call Disable 'user can't change anything! End Sub Sub Plugin_CheckData(ElementIndex) End Sub Sub Plugin_Apply(ElementIndex,ElementSubIndex) End Sub Sub Plugin_Terminate End Sub